package com.css.fxfzysx.modules.cztDataMange.repository;

import com.css.fxfzysx.modules.cztDataMange.entity.CbhdInfoEntity;
import com.css.fxfzysx.modules.vabStructure.vo.CrsEntiretyQueryParam;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public interface SdoBuildingsRepository {
    void saveHsoBuildings(CbhdInfoEntity cbhdInfoEntity);

    void updateBuildings(CbhdInfoEntity cbhdInfoEntity);

    boolean deleteBuildingsById(String id);

    CbhdInfoEntity getBuildingsById(String buildingsId);

    HashMap<String,Object> queryBuildings(CbhdInfoEntity cbhdInfoEntity, int page, int size, List<String> roleList);

    HashMap<String,Object> queryCrsBuildings(CrsEntiretyQueryParam cbhdInfoEntity, int page, int size);

    List<CbhdInfoEntity> getBuildingsByNumber(String number);

    void updateBuildingsForm(CbhdInfoEntity entity);

    void moveBasicLibraryByNumber(String number,String operate);
}
